<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
include_once("../config.inc.php");
$_LangPath = "admin_navbar";	//語言檔參數，務必放在最前面
include_once(__Admin_Path."/logincheck_admin_listdata.php");
include_once(__Language_Path."/selectlanguage_admin.php");

$strAccount = trim($_data["Account"]);
if(empty($strAccount))ErrMsgOutputHTML("Error", "", 1);
if(!get_magic_quotes_gpc()){
	$strAccount = addslashes($strAccount);
}


$strSQL = "select ID from `bet_Member` where Account = '".$strAccount."'";
if($RS = @PMA_mysql_query($strSQL, $$_Conn)){
	if(PMA_mysql_num_rows($RS) == 0){
		$strMsg = $_strAdmin["UsedAccount"];//"此帳號『尚未』有人使用！";
	}else{
		$strMsg = $_strAdmin["unUsedAccount"];
	}
}else{
	$strMsg = "System Error!!";
}
@mysql_close($$_Conn);
?><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<script Language="JavaScript">
<!--
function AlertFC(){
	alert("<?php print $strMsg;?>");
}
//-->
</script>
</head>
<body onload="AlertFC()"></body>
</html>